package cn.xyy.common.domain.system.auth;

import java.util.Date;

import cn.xyy.common.annotation.jdbc.Columns;
import cn.xyy.common.annotation.jdbc.Tables;
import cn.xyy.common.domain.mvc.PageParam;

/**
 * 数据字典表
 * @author xyy
 *
 */
@Tables("t_sys_dict_item")
public class DictItem extends PageParam {

    @Columns(value = "item_id", primaryKey = true)
    private Integer id;

    @Columns("dict_id")
    private Integer dictId;

    @Columns("item_label")
    private String itemLabel;//

    @Columns("item_value")
    private String itemValue;//

    @Columns("sorts")
    private Integer sorts;// 排序

    @Columns("status")
    private Integer status; // 1启用，2停用

    @Columns("create_time")
    private Date createTime;

    @Columns("creator")
    private String creator;

    private String dictName;

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public Integer getId() {
        return id;
    }

    public DictItem setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Integer getDictId() {
        return dictId;
    }

    public void setDictId(Integer dictId) {
        this.dictId = dictId;
    }

    public String getItemLabel() {
        return itemLabel;
    }

    public void setItemLabel(String itemLabel) {
        this.itemLabel = itemLabel;
    }

    public String getItemValue() {
        return itemValue;
    }

    public void setItemValue(String itemValue) {
        this.itemValue = itemValue;
    }

    public Integer getSorts() {
        return sorts;
    }

    public void setSorts(Integer sorts) {
        this.sorts = sorts;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
